Metadata-Version: 2.1
Name: Keg-Auth
Version: 0.3.0
Summary: Authentication plugin for Keg
Home-page: https://github.com/level12/keg-auth
Author: Randy Syring
Author-email: randy.syring@level12.io
License: UNKNOWN
Description: Keg Auth’s Readme
        ==========================================
        
        .. image:: https://circleci.com/gh/level12/keg-auth.svg?&style=shield&circle-token=b90c5336d179f28df73d404a26924bc373840257
            :target: https://circleci.com/gh/level12/keg-auth
        
        .. image:: https://codecov.io/github/level12/keg-auth/coverage.svg?branch=master&token=hl15MQRPeF
            :target: https://codecov.io/github/level12/keg-auth?branch=master
        
        Flask extension in the Keg ecosystem to wrap authentication and authorization functionality. Keg-Auth
        provides helpers for auth model, view/authorization setup, protected navigation menus, and more.
        
        
        Installation
        ------------
        
        - Bare functionality: `pip install keg-auth`
        - With mail (i.e. with a mail manager configured, see below): `pip install keg-auth[mail]`
        - JWT (for using JWT tokens as authenticators): `pip install keg-auth[jwt]`
        - LDAP (for using LDAP target for authentication): `pip install keg-auth[ldap]`
        - OIDC (for OAuth, e.g. Okta or Auth0): `pip install keg-auth[oidc]`
        - Internationalization extensions: `pip install keg-auth[i18n]`
        
        
        A Simple Example
        ----------------
        
        For a simple example and a checklist of sorts for app setup, see the
        `Getting Started guide <https://keg-auth.readthedocs.io/en/stable/getting-started.html>`_ in the docs.
        
        
        Demo
        ----
        
        Typical usage is demonstrated in
        https://github.com/level12/keg-app-cookiecutter
        
        
        Links
        -----
        
        * Documentation: https://keg-auth.readthedocs.io/en/stable/index.html
        * Releases: https://pypi.org/project/Keg-Auth/
        * Code: https://github.com/level12/keg-auth
        * Issue tracker: https://github.com/level12/keg-auth/issues
        * Keg framework: https://github.com/level12/keg
        * Questions & comments: http://groups.google.com/group/blazelibs
        
        
        Changelog
        =========
        
        0.3.0 released 2021-07-06
        -------------------------
        
        - click changed output for hidden inputs, resolve for set-password CLI (6cd5a09_)
        - update python requirements and pip usage (760da0b_)
        - add options to exclude specific HTTP methods from auth checks (b66d090_)
        - update JWT usage to reflect flask-jwt-extended 4.0 breaking changes (1cd0895_)
        - switch ldap requirement to python-ldap (63485f3_)
        
        .. _6cd5a09: https://github.com/level12/keg-auth/commit/6cd5a09
        .. _760da0b: https://github.com/level12/keg-auth/commit/760da0b
        .. _b66d090: https://github.com/level12/keg-auth/commit/b66d090
        .. _1cd0895: https://github.com/level12/keg-auth/commit/1cd0895
        .. _63485f3: https://github.com/level12/keg-auth/commit/63485f3
        
        
        0.2.28 released 2021-04-20
        --------------------------
        
        - support args in http head requests (97f8961_)
        - pin flask-jwt-extended < 4 until we support the update
        
        .. _97f8961: https://github.com/level12/keg-auth/commit/97f8961
        
        
        0.2.27 released 2021-02-02
        --------------------------
        
        - fix documentation of internationalization support (8a41f03_)
        - make form/crud templates less opinionated about how base templates render page title (0b71303_)
        
        .. _8a41f03: https://github.com/level12/keg-auth/commit/8a41f03
        .. _0b71303: https://github.com/level12/keg-auth/commit/0b71303
        
        
        0.2.26 released 2021-01-29
        --------------------------
        
        - Provide Spinx documentation (62aca54_)
        - Provide a default JS handler for confirm-delete in crud-list (7b6785a_)
        - Use marksafe and jinja templates instead of webhelpers2 (8f68e07_)
        - Allow user to prevent sending welcome email after user form (3bb8f7a_)
        - Validate that create_form returned a value (83ff034_)
        - Trap integrity error on permission sync to mitigate race condition (4d7497c_)
        - Move disabled_utc to be with the other fields (dd1bf5e_)
        
        .. _62aca54: https://github.com/level12/keg-auth/commit/62aca54
        .. _7b6785a: https://github.com/level12/keg-auth/commit/7b6785a
        .. _8f68e07: https://github.com/level12/keg-auth/commit/8f68e07
        .. _3bb8f7a: https://github.com/level12/keg-auth/commit/3bb8f7a
        .. _83ff034: https://github.com/level12/keg-auth/commit/83ff034
        .. _4d7497c: https://github.com/level12/keg-auth/commit/4d7497c
        .. _dd1bf5e: https://github.com/level12/keg-auth/commit/dd1bf5e
        
        
        0.2.25 released 2020-12-08
        --------------------------
        
        - CRUD view passes through args set with self.assign (efeb7b7_)
        - CRUD view edit/delete performs authorization prior to ID lookup (efeb7b7_)
        - CRUD view added webgrid render limit handling (efeb7b7_)
        
        .. _efeb7b7: https://github.com/level12/keg-auth/commit/efeb7b7
        
        
        0.2.24 released 2020-07-09
        --------------------------
        
        - Fix inconsistent CLI argument ordering in tests (d9a62c0_)
        
        .. _d9a62c0: https://github.com/level12/keg-auth/commit/d9a62c0
        
        
        0.2.23 released 2020-06-11
        --------------------------
        
        - Allow applications to enforce custom password policies (7111c20_)
        - Check translations in CI (825d32e_)
        
        .. _7111c20: https://github.com/level12/keg-auth/commit/7111c20
        .. _825d32e: https://github.com/level12/keg-auth/commit/825d32e
        
        
        0.2.22 released 2020-04-16
        --------------------------
        
        - Allow rate-limiting of login and password resets (d243b75_)
        - Add more config flexibility for OIDC (39beae0_)
        
        .. _d243b75: https://github.com/level12/keg-auth/commit/d243b75
        .. _39beae0: https://github.com/level12/keg-auth/commit/39beae0
        
        
        0.2.21 released 2020-04-02
        --------------------------
        
        - Resolve fuzzy/missing translations (a78de96_)
        - Add inactivation date for users (requires migration to add a field) (0020fbd_)
        - Support latest Flask-Login (ba59925_)
        - Allow unverified users to reset their passwords (8888386_)
        - Pin keg-elements requirement to support CRUD checkboxes (e59fcc1_)
        - Include an Allow header for 405 responses (a2a3091_)
        - Support multiple LDAP targets (b895aad_)
        - Handle HEAD requests (b16a7e4_)
        - Remove six dependency (477a415_)
        
        .. _a78de96: https://github.com/level12/keg-auth/commit/a78de96
        .. _0020fbd: https://github.com/level12/keg-auth/commit/0020fbd
        .. _ba59925: https://github.com/level12/keg-auth/commit/ba59925
        .. _8888386: https://github.com/level12/keg-auth/commit/8888386
        .. _e59fcc1: https://github.com/level12/keg-auth/commit/e59fcc1
        .. _a2a3091: https://github.com/level12/keg-auth/commit/a2a3091
        .. _b895aad: https://github.com/level12/keg-auth/commit/b895aad
        .. _b16a7e4: https://github.com/level12/keg-auth/commit/b16a7e4
        .. _477a415: https://github.com/level12/keg-auth/commit/477a415
        
        
        0.2.20 released 2020-03-24
        --------------------------
        
        - OIDC and related updates (fab68f5_)
        - Add OIDC authenticator and login/logout view responders
        - Fix missing page header for Permissions view
        - Allow passing blueprint kwargs to make_blueprint
        - Easier disabling of specific auth views
        - Allow view responder flash messages to be disabled
        - Drop bulk permission controls (better templating now in keg-elements)
        
        .. _fab68f5: https://github.com/level12/keg-auth/commit/fab68f5
        
        
        0.2.19 released 2020-02-21
        --------------------------
        
        - Improve Usability of Permission Dropdown (479e985_)
        - Pin Flask Login (00ea957_)
        
        .. _479e985: https://github.com/level12/keg-auth/commit/479e985
        .. _00ea957: https://github.com/level12/keg-auth/commit/00ea957
        
        
        0.2.18 released 2020-01-10
        --------------------------
        
        - add CLI command for dev to set password (d488bc9_)
        
        .. _d488bc9: https://github.com/level12/keg-auth/commit/d488bc9
        
        
        0.2.17 released 2019-12-12
        --------------------------
        
        - ensure token is present for resending verification email (01b566f_)
        
        .. _01b566f: https://github.com/level12/keg-auth/commit/01b566f
        
        
        0.2.16 released 2019-12-02
        --------------------------
        
        - fix CRUD edit form default values for relationships (01893f9_)
        
        .. _01893f9: https://github.com/level12/keg-auth/commit/01893f9
        
        
        0.2.15 released 2019-11-27
        --------------------------
        
        - fix bundle grid setup for CRUD view (b772f01_)
        
        .. _b772f01: https://github.com/level12/keg-auth/commit/b772f01
        
        
        0.2.14 released 2019-11-21
        --------------------------
        
        - fix template issue related to select2 updates (373739b_)
        - make auth testing helpers more generic (b90ee96_)
        
        .. _373739b: https://github.com/level12/keg-auth/commit/373739b
        .. _b90ee96: https://github.com/level12/keg-auth/commit/b90ee96
        
        
        0.2.13 released 2019-11-08
        --------------------------
        
        - use select2 to render selects on the user management views (30ff332_)
        - fix breakage with keg 0.8.1 (3f5668d_)
        - adjust CI environments to use (b9b4fb4_)
        - auth test helpers use endpoints to find correct url (76a1222_)
        
        .. _30ff332: https://github.com/level12/keg-auth/commit/30ff332
        .. _3f5668d: https://github.com/level12/keg-auth/commit/3f5668d
        .. _b9b4fb4: https://github.com/level12/keg-auth/commit/b9b4fb4
        .. _76a1222: https://github.com/level12/keg-auth/commit/76a1222
        
        
        0.2.12 released 2019-10-03
        --------------------------
        
        - support decorating flask class-based views (3d8a6cb_)
        - fix LDAP authenticator for missing user case (19d184e_)
        
        .. _3d8a6cb: https://github.com/level12/keg-auth/commit/3d8a6cb
        .. _19d184e: https://github.com/level12/keg-auth/commit/19d184e
        
        
        0.2.11 released 2019-09-27
        --------------------------
        
        - fix permission sync method and test hook (a56eda4_)
        - fix FontAwesome usage on CRUD list view template (64f759a_)
        - support lazy strings and icons in navigation helpers and templates (4473571_)
        - remove flask version pin (ab47362_)
        
        .. _a56eda4: https://github.com/level12/keg-auth/commit/a56eda4
        .. _64f759a: https://github.com/level12/keg-auth/commit/64f759a
        .. _4473571: https://github.com/level12/keg-auth/commit/4473571
        .. _ab47362: https://github.com/level12/keg-auth/commit/ab47362
        
        
        0.2.10 released 2019-09-18
        --------------------------
        
        - fix testing utils mock import to prevent needing mock dependency (da197df_)
        
        .. _da197df: https://github.com/level12/keg-auth/commit/da197df
        
        
        0.2.9 released 2019-07-27
        -------------------------
        
        - Provide a hook on the CRUD base class to allow overriding the default add url generation (#74) (7eea8bb_)
        
        .. _7eea8bb: https://github.com/level12/keg-auth/commit/7eea8bb
        
        
        0.2.8 released 2019-06-17
        -------------------------
        
        - resolve bug in testing permission existence check (feccb98_)
        
        .. _feccb98: https://github.com/level12/keg-auth/commit/feccb98
        
        
        0.2.7 released 2019-06-07
        -------------------------
        
        - make custom action access control easier (63921ee_)
        - enforce test permissions are specified to the auth manager (794f320_)
        - correct the MRO order in CRUD forms and testing models (2f4c451_)
        - add get_current_user helper method (cae02a2_)
        - make grid action column link CSS classes customizable (aa1bc21_)
        - ensure CRUD view passes in desired template args (aae3dad_)
        
        .. _63921ee: https://github.com/level12/keg-auth/commit/63921ee
        .. _794f320: https://github.com/level12/keg-auth/commit/794f320
        .. _2f4c451: https://github.com/level12/keg-auth/commit/2f4c451
        .. _cae02a2: https://github.com/level12/keg-auth/commit/cae02a2
        .. _aa1bc21: https://github.com/level12/keg-auth/commit/aa1bc21
        .. _aae3dad: https://github.com/level12/keg-auth/commit/aae3dad
        
        
        0.2.6 released 2019-02-12
        -------------------------
        
        - Merge pull request #60 from level12/move-sync-perms-to-entity (3181691_)
        - update readme to remove reference to view-scoped authenticators (514c202_)
        
        .. _3181691: https://github.com/level12/keg-auth/commit/3181691
        .. _514c202: https://github.com/level12/keg-auth/commit/514c202
        
        
        0.2.5 released 2018-11-14
        -------------------------
        
        - Allow make_blueprint to accept a custom blueprint class (fe635b2_)
        - Add a link to resend verification email (f7a6191_)
        - Add optional i18n support using morphi (790d3ab_)
        - Fix intermittent test failure resulting from login timestamp (cde083b_)
        - Refactor CRUD form/grid render to extract template args (34d4a20_)
        
        .. _fe635b2: https://github.com/level12/keg-auth/commit/fe635b2
        .. _f7a6191: https://github.com/level12/keg-auth/commit/f7a6191
        .. _790d3ab: https://github.com/level12/keg-auth/commit/790d3ab
        .. _cde083b: https://github.com/level12/keg-auth/commit/cde083b
        .. _34d4a20: https://github.com/level12/keg-auth/commit/34d4a20
        
        
        0.2.4
        ------------------
        
        - Show verification URL on CLI even if mail flag is off
        
        0.2.3
        ------------------
        
        - Fix requires_user decorator for usage with blueprints
        
        0.2.1
        ------------------
        
        - Fix nav items to cache on per user basis
        - Fix token generated in CLI having an unknown timezone applied
        
        0.2.0
        ------------------
        
        - Support permissions
        - Decorate blueprints, classes, methods for user/permission requirements
        - Support request loaders for tokens
        
        0.1.0
        ------------------
        
        - Initial release
        
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/x-rst
Provides-Extra: test
Provides-Extra: i18n
Provides-Extra: jwt
Provides-Extra: ldap
Provides-Extra: mail
Provides-Extra: oidc
